#ifndef AUDIOCLIENT_H
#define AUDIOCLIENT_H
#include <qDebug>
#include <string>
#include "localTcpClient.h"
#include "PINGGER.h"
#include "logger.h"

class audioClient
{
public:
    audioClient();
    ~audioClient();

    int init();
    bool is_connected();
    void play(QString txt);
    PINGGER pingger;

private:
    localTcpClient client;
    int localPort = 29999;
    std::string localIP = "192.168.5.18";

    bool mInited = false;
    void loadINI();
    void print_base_info();
};

#endif // AUDIOCLIENT_H
